#################################################
#	This file is program's makefile
#	You can use 'make' command to make this program.
#	Or you can use 'mak clean' to remove useless file.
#################################################

CC=gcc

#compile message
CFLAGS = -Wall

#include path
#INCLUDE_PATH = -I./

#user application function
USER_APP_FUNC=PXIe_libStandard_test

obj=main.o libStandard_pxie.so

$(USER_APP_FUNC):$(obj)
	$(CC) $(CFLAGS) $(INCLUDE_PATH) $(obj) -lpthread -o $@

main.o:main.c
	$(CC) $(CFLAGS) $(INCLUDE_PATH)  -c main.c

.PHONY : clean
clean:
	rm -f $(USER_APP_FUNC) *.o
